package com.vcg.java.demo;

import org.junit.Test;

import java.util.Properties;
import java.util.Set;

/**
 * Created by wuyu on 2016/8/12.
 */
public class TestSystemInfo {

    @Test
    public void system() {
        Properties properties = System.getProperties();
        Set<Object> objects = properties.keySet();
        for (Object o : objects) {
            System.err.println(o.toString() + " = " + properties.get(o));
        }
    }
}
